package com.ugrow.ugrowcommunity.util;

import android.content.Context;
import android.widget.Toast;

public class ToastUtil {

    //短吐司
    public static void ToastShort(Context context , String s){
        Toast toast = Toast.makeText(context, s, Toast.LENGTH_SHORT);
        toast.setText(s);
        toast.show();
    }

    //长吐司
    public static void ToastLong(Context context , String s){
        Toast toast = Toast.makeText(context, s, Toast.LENGTH_LONG);
        toast.setText(s);
        toast.show();
    }
}
